<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../课件/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			$(function(){
//				$('<h2>replaceAll</h2>').replaceAll('.inner');
                $('.inner').replaceWith('<h2>replaceAll</h2>')
			})
		</script>
	</head>
	<body>
		<div class="container">
		    <div class="inner first">Hello</div>
		    <div class="inner second">And</div>
		    <div class="inner third">Goodbye</div>
		</div>
	</body>
</html>
